package starlingui.component.event
{
	import com.imcrl.core.imcrl_internal;
	import starling.events.Event;
	
	use namespace imcrl_internal;
	public class ProgressEvent extends Event
	{
		public static const PROGRESS:String="progress";
		imcrl_internal var _bytesLoaded:int;
		imcrl_internal var _bytesTotal:int
		public function ProgressEvent(type:String, bytesLoaded:int,bytesTotal:int)
		{
			super(type, bubbles);
			
			_bytesLoaded=bytesLoaded;
			_bytesTotal=bytesTotal;
		}

		public function get bytesLoaded():int
		{
			return _bytesLoaded;
		}

		public function get bytesTotal():int
		{
			return _bytesTotal;
		}


	}
}